//
// Created by Administrator on 2021/11/26.
//

#ifndef SPLATTING_UTILS_H
#define SPLATTING_UTILS_H

#include <fstream>

using namespace std;

const int VOLUME_X = 256;
const int VOLUME_Y = 256;
const int VOLUME_Z = 256;

class RawData {
    unsigned char *data = nullptr;
    int length = VOLUME_Z * VOLUME_X * VOLUME_Y;

public:
    RawData() {
        data = new unsigned char[length];
    }

    ~RawData() {
        delete[]data;
    }

    unsigned char *get_data() {
        return data;
    }
};

class Utils {
public:
    static RawData *read_data();
};


#endif //SPLATTING_UTILS_H
